import React from 'react';
import {
  View,
  Text,
  TouchableOpacity,
  TouchableWithoutFeedback
} from 'react-native';
import Icon from './diyicon/IconFont';
import * as constant from './../style/constant';
import { navBarHeight } from '../style';

const NarBar = ({ title }) => (
  <View>
    <TouchableOpacity>
      <Icon name=" " size={16} color={'#222'} />
    </TouchableOpacity>
    <TouchableWithoutFeedback>
      <View>
        <Icon name="" size={16} color={'#222'} />
        <Text>{title}</Text>
      </View>
    </TouchableWithoutFeedback>
  </View>
);

export default NarBar;
